package com.lyc.day1031.demo1;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/10/31 9:47
 * @description：
 * @modified By：
 * @version:
 */
public class MyThread extends Thread{
    public MyThread(String name){
        super(name);
    }
    @Override
    public void run(){
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName()+"执行*********"+i);
        }
    }
}